import React from "react";
import ReactDOM from "react-dom/client";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import App from "./views/App/App.tsx";
import "./indec.css";
import { router } from "./router/index.tsx";
const RootCheck = ({ children }: { children: React.ReactNode }) => {
  return children;
};
ReactDOM.createRoot(document.getElementById("root")!).render(
  <RootCheck>
    <RouterProvider router={router} />
  </RootCheck>
);
